package com.sinoyd.Code.Until

/**
 * 作者： scj
 * 创建时间： 2018/1/30
 * 版权： 江苏远大信息股份有限公司
 * 描述： com.sinoyd.Code.Until
 */

object Networkrequestaddress {
    //账号：hbj-zjf    密码：111111
    var RELEASE: Boolean = false
    var SERVER_URL = ""
    val Formaladdress: String = "http://192.168.11.178:9527"
    val Testaddress: String = "http://192.168.90.188/MHWebService/WebServiceForMH.asmx"//苏州服务器

    init {
        SERVER_URL = if (RELEASE) Formaladdress else Testaddress
    }

    /**登陆**/
    val URL_GetLoginInfo = SERVER_URL + "/GetLoginInfo"

    /**在线情况**/
    val URL_GetOnlineInfo = SERVER_URL + "/GetOnlineInfo"

    /**站点信息**/
    val URL_GetPointInfo = SERVER_URL + "/GetPointInfo"

    /**报警信息**/
    val URL_GetAlarmInfo = SERVER_URL + "/GetAlarmInfo"

    /**实时数据**/
    val URL_GetHourDataByDatetime = SERVER_URL + "/GetHourDataByDatetime"

    /**趋势分析**/
    val URL_GetAppPortWaterQualityTrend = SERVER_URL + "/GetAppPortWaterQualityTrend"

    /**最新小时的AQI情况**/
    val URL_GetLatestHourAQI = SERVER_URL + "/GetLatestHourAQI"

    /**【查询监测数据】获取小时值或日均值浓度**/
    val URL_GetMonitData = SERVER_URL + "/GetMonitData"
}